package com.kurumi.autoprint.enums;

public enum ResponseStatusEnum {
	SYSTEM_ERROR(500, "系统异常"),
	PDF_TRANSFER_ERROR(2, "pdf转换失败!"),
	PARAM_VERIFY(3, "参数验证失败"),
	YING_LIAN_AUTHORIZATION(4, "调用银联生成token码失败!"),
	YING_LIAN_NO_CONNECT(5, "调用银联生成二维码404"),
	YING_LIAN_CODE_ERROR(6, "调用银联失败"),
	BILL_NOT_EXIT(7,"账单未找到"),
	RESOURCE_NOT_EXIT(100, "资源部存在"),
	SUCCESS(200, "成功");
	
	private final Integer value;
	private final String name;
	
	private ResponseStatusEnum(Integer value, String name) {
		this.value = value;
		this.name = name;
	}


	public Integer getValue() {
		return value;
	}


	public String getName() {
		return name;
	}
	

}
